html,
body {
	margin: 0;
	padding: 0;
}

#app {
	display: flex;
	flex-direction: row;
	min-height: 100%;
}

#app .section {
	width: 50%;
	align-self: stretch;
	min-height: 100vh;
}

.info {
	background-color: white;
}

.preview {
	background-color: black;
}

.form-wrap {
	margin-top: 10vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.form-item {
	margin-bottom: 50px;
}

.tool-btn{cursor: pointer;color: coral;}

/* .form-item-til {
	margin-bottom: 10px;
} */

input {
	padding: 12px;
}

.btn {
	display: inline-block;
	padding: 10px 34px;
	margin: 0 10px;
	background-color: #001528;
	color: #fff;
	border-radius: 5px;
	cursor: pointer;
}

.preview-wrap {
	background-color: #fff;
	margin: 0 auto;
	width: 756px;
	height: 1086px;
	text-align: center;
	overflow: hidden;
	position: absolute;
	left: -99999px;
}

#qrcode {
	margin: 48px auto 24px;
	width: 190px;
	height: 190px;
}

.preview .tip {
	margin-bottom: 24px;
}

.wifi-info {
	margin-bottom: 24px;
}

.wifi-info-item {
	margin-bottom: 24px;
}

.wifi-info-til {
	margin-bottom: 5px;
	color: #999;
}

.wifi-info-con {
	font-size: 24px;
}

.preview .img-wrap {
	margin: 20px 20%;
}

.preview .img-wrap img {
	width: 100%;
}

.bottom-text {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 24px;
}

.wifi-title {
	margin-top: 70px;
	font-size: 42px;
}

.introduce{margin-top: 48px;}
.introduce .title{text-align: center;font-size: 24px;}
.introduce li{font-size: 14px;margin-bottom: 10px;}

@media screen and (max-width: 1080px) {
	#app {
		flex-direction: column;
	}

	#app .section {
		width: 100%;
		min-height: auto;
	}

	.form-wrap {
		margin-top: 100px;
		margin-bottom: 48px;
	}
}

@media print {
	.info {
		display: none;
	}

	.section.preview {
		width: 100%;
	}
}

/* form starting stylings ------------------------------- */
.group {
	position: relative;
	/* margin-bottom: 45px; */
}

input {
	font-size: 18px;
	padding: 10px 10px 10px 5px;
	display: block;
	width: 300px;
	border: none;
	box-sizing: border-box;
	border-bottom: 1px solid #757575;
}

input:focus {
	outline: none;
}

/* LABEL ======================================= */
label {
	color: #999;
	font-size: 18px;
	font-weight: normal;
	position: absolute;
	pointer-events: none;
	left: 5px;
	top: 10px;
	transition: 0.2s ease all;
	-moz-transition: 0.2s ease all;
	-webkit-transition: 0.2s ease all;
}

/* active state */
input:focus~label,
input:valid~label {
	top: -20px;
	font-size: 14px;
	color: #5264AE;
}

/* BOTTOM BARS ================================= */
.bar {
	position: relative;
	display: block;
	width: 300px;
}

.bar:before,
.bar:after {
	content: '';
	height: 2px;
	width: 0;
	bottom: 1px;
	position: absolute;
	background: #5264AE;
	transition: 0.2s ease all;
	-moz-transition: 0.2s ease all;
	-webkit-transition: 0.2s ease all;
}

.bar:before {
	left: 50%;
}

.bar:after {
	right: 50%;
}

/* active state */
input:focus~.bar:before,
input:focus~.bar:after {
	width: 50%;
}

/* HIGHLIGHTER ================================== */
.highlight {
	position: absolute;
	height: 60%;
	width: 100px;
	top: 25%;
	left: 0;
	pointer-events: none;
	opacity: 0.5;
}

/* active state */
input:focus~.highlight {
	-webkit-animation: inputHighlighter 0.3s ease;
	-moz-animation: inputHighlighter 0.3s ease;
	animation: inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
	from {
		background: #5264AE;
	}

	to {
		width: 0;
		background: transparent;
	}
}

@-moz-keyframes inputHighlighter {
	from {
		background: #5264AE;
	}

	to {
		width: 0;
		background: transparent;
	}
}

@keyframes inputHighlighter {
	from {
		background: #5264AE;
	}

	to {
		width: 0;
		background: transparent;
	}
}
